package xyz.molzhao.mapper;

import xyz.molzhao.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 11
 * @since 2021-08-05
 */

public interface UserMapper extends BaseMapper<User> {
    @Transactional(readOnly = true)
    User selectById(Long id);
}
